import Vue from 'vue'
import Router from 'vue-router'
Vue.use(Router)
const findJob = (r) => require.ensure([], () => r(require("@/views/job/index")), "findJob")
const jobDetail = (r) => require.ensure([], () => r(require("@/views/job/jobDetail")), "findJob")

export default new Router({
    mode: 'history',
    // base:'/',
    routes: [
        {
            path: '/childJob',
            name: 'finJob',
            component: findJob,
        },
        // jobDetail
        {
            path: '/childJobDetail',
            name: 'jobDetail',
            component: jobDetail,
        }
    ]

})